package pkg;

import java.util.Calendar;
import java.util.Random;
import javax.servlet.http.*;


public class Engine {
	static Random rand;
	public static String printInt(){
		StringBuffer out = new StringBuffer();
		if (rand == null)
			rand = new Random();
		for (int i =1; i<=13; i++){
			out.append("<p align=\"center\">"+i+" -> "+rand.nextInt() +"</p>\n");
		}
		return out.toString();
	}
	
	public static String printDate(){
		Calendar cal = Calendar.getInstance();
		return ("<p aling=\"center\">"+ (cal.getTime()).toString()  + "</p>");
	}
}